package com.smarthome.core.kuaidiXiyi;

import java.util.List;

import com.smarthome.domain.bean.ShHistoryAccount;
import com.smarthome.domain.bean.ShOrders;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;

/**
 * 
* @ClassName: SendCourierService
* @Description: 发快递service接口
* @author cyj
* @date 2016年3月24日 上午10:44:42
*
 */
public interface SendCourierService {

    /**
     * 
    * @Title: dataGrid
    * @Description: 快递订单page
    * @param shOrders
    * @param page
    * @return 
    * DataGrid  
    * @throws
     */
    DataGrid dataGrid(ShOrders shOrders, PageHelper page);

    
    /**
     * 得到工单列表--翻页
     * @param shOrders
     * @param page
     * @return
     */
  //  DataGrid dataOrdGridPage(ShOrders shOrders, PageHelper page);
    
    /**
     * 
    * @Title: add
    * @Description: 新增
    * @param shOrders
    * @return 
    * Integer  
    * @throws
     */
    Integer add(ShOrders shOrders);
    
    /**
     * 
    * @Title: edit 
    * @Description: 修改代
    * @param shOrders
    * @return
    * Integer
    * @throws 
    * @author cyj
     */
    Integer edit(ShOrders shOrders);
    

    /**
     * 
    * @Title: getDetailById
    * @Description: 根据id获取详情
    * @param id
    * @return 
    * ShOrders  
    * @throws
     */
    ShOrders getDetailById(Long id);
    
    
    
    
   /**
    * 
   * @Title: chengeStatus 
   * @Description: 更改状态 
   * @param id
   * @param status
   * @return
   * Integer
   * @throws 
   * @author cyj
    */
    Integer chengeStatus(Long id,Integer status);
    
   
    /**
     * 
    * @Title: getHistoryAccountInfo
    * @Description: 通过手机号和小区id获取用户信息
    * @param historyAccount
    * @return 
    * ShHistoryAccount  
    * @throws
     */
    ShHistoryAccount getHistoryAccountInfo(ShHistoryAccount historyAccount);
    
    /**
     * 
    * @Title: getSendCourierDetailList 
    * @Description: 获取快递代发单详情列表
    * @param shOrders
    * @return
    * List<ShOrders>
    * @throws 
    * @author cyj
     */
    List<ShOrders> getSendCourierDetailList(ShOrders shOrders);
    
    

	/**
	 * 
	* @Title: getExpressTotalFee 
	* @Description: 获取快递总费用 
	* @param shOrders
	* @return
	* Long
	* @throws 
	* @author cyj
	 */
	Long getExpressTotalFee(ShOrders shOrders);
    
}
